package cn.com.roy.thread.t3_1_14.wait_notify_insert_test;


import cn.com.roy.thread.t3_1_13.pipereaderwriter.ReadData;
import cn.com.roy.thread.t3_1_13.pipereaderwriter.ThreadRead;
import cn.com.roy.thread.t3_1_13.pipereaderwriter.ThreadWrite;
import cn.com.roy.thread.t3_1_13.pipereaderwriter.WriteData;

import java.io.IOException;
import java.io.PipedReader;
import java.io.PipedWriter;

public class RunCls {
    public static void main(String[] args) {
        DBtools dBtools = new DBtools();

        for (int i = 0; i < 20; i++) {
            BackupA backupA = new BackupA(dBtools);
            backupA.start();
            BackupB backupB = new BackupB(dBtools);
            backupB.start();
        }


    }
}
